﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ttifa.CronScheduler
{
    class Demo2
    {
        public void Start()
        {
            Quartz.QuartzHelper.InitScheduler();
            Quartz.QuartzHelper.StartScheduler();
        }

        public void Stop()
        {
            Quartz.QuartzHelper.StopSchedule();
            //System.Environment.Exit(0);
        }
    }
}
